import java.util.Scanner;

public class 电话脱敏 {
    public static void main(String[] args) {
       String dianNum = "18812345678";
      String s1= dianNum.substring(0,3);
//        System.out.println(s1);
        String s2 = dianNum.substring(7);

        String quan = s1+"****"+s2;
        System.out.println(quan);
    }
}
